/**
* Complex Button events
* @author Devon O.
* @version 0.1
*/

package src.uipackage.ui.complexbuttons.events {
	
	import flash.events.Event;

	public class ComplexButtonEvent extends Event {
		
		public static const PRESS:String = "onPress";
		public static const RELEASE:String = "onRelease";
		public static const RELEASE_OUTSIDE:String = "onReleaseOutside";
		public static const ROLL_OVER:String = "onRollOver";
		public static const ROLL_OUT:String = "onRollOut";
		public static const DRAG_OVER:String = "onDragOver";
		public static const DRAG_OUT:String = "onDragOut";
		public static const ACCORDION_CHANGE:String = "onAccordionChange";
		
		private var _buttonData:String;
		
		public function ComplexButtonEvent(type:String, dat:String = "") {
			super(type);
			_buttonData = dat;
		}
		
		public function get data():String {
			return _buttonData;
		}
	}
	
}
